<extend name="./base" />

<block name="main">
    <form action="<{:U('User/update')}>" method="post" class="mt20 h3">
        <input type="hidden" name="id" value="<{$data.id}>">
        name:
        <input type="text" name="name" value="<{$data.name}>" placeholder="请输入用户名"><br><br>
        sex:
        <input type="radio" name="sex" value="0" <if condition="$data.sex eq '0'">checked</if>>女
        <input type="radio" name="sex" value="1" <if condition="$data.sex eq '1'">checked</if>>男
        <input type="radio" name="sex" value="2" <if condition="$data.sex eq '2'">checked</if>>保密<br><br>
        age:
        <input type="text" name="age" value="<{$data.age}>"><br><br>

        <input type="hidden" name="vcode" value="1234">
        <input type="hidden" name="hot" value="so hot">

        <input type="submit" value="保存">
    </form>
</block>
